define({ "api": [
  {
    "type": "post",
    "url": "/Config/agreement",
    "title": "基础设置-用户协议列表",
    "version": "0.1.0",
    "name": "agreement",
    "group": "Config",
    "description": "<p>用户协议列表</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "admin_id",
            "description": "<p>当前登陆用户id（必填）</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "token",
            "description": "<p>用户token（必填）</p>"
          }
        ]
      }
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n    \"error_code\": 0,\n    \"result\": [//固定三个\n    {\n    \"id\": 1,\n    \"title\": \"用户协议\"\n    },\n    {\n    \"id\": 2,\n    \"title\": \"平台介绍\"\n    },\n    {\n    \"id\": 3,\n    \"title\": \"关于我们\"\n    }\n    ],\n    \"msg\": \"ok\"\n    }",
          "type": "json"
        }
      ]
    },
    "error": {
      "examples": [
        {
          "title": "Error-Response:",
          "content": "HTTP/1.1 200 OK\n{\"code\":\"1XX\",\"message\":\"error\",\"data\":[]}",
          "type": "json"
        }
      ]
    },
    "filename": "application/admin/controller/config/Config.php",
    "groupTitle": "Config"
  },
  {
    "type": "post",
    "url": "/Config/agreementDetail",
    "title": "基础设置-用户协议详情",
    "version": "0.1.0",
    "name": "agreementDetail",
    "group": "Config",
    "description": "<p>用户协议详情</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "admin_id",
            "description": "<p>当前登陆用户id（必填）</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "token",
            "description": "<p>用户token（必填）</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "id",
            "description": "<p>协议ID（必填）</p>"
          }
        ]
      }
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n\n    {\n    \"error_code\": 0,\n    \"result\": {\n    \"id\": 1,\n    \"uid\": 0,\n    \"content\": \"用户协议\",//内容\n    \"title\": \"用户协议\",//标题\n    \"type\": 1,\n    \"create_time\": \"2019-06-19 09:56:35\",\n    \"update_time\": \"2019-06-19 09:56:35\",\n    \"delete_time\": null\n    },\n    \"msg\": \"操作成功\"\n    }",
          "type": "json"
        }
      ]
    },
    "error": {
      "examples": [
        {
          "title": "Error-Response:",
          "content": "HTTP/1.1 200 OK\n{\"code\":\"1XX\",\"message\":\"error\",\"data\":[]}",
          "type": "json"
        }
      ]
    },
    "filename": "application/admin/controller/config/Config.php",
    "groupTitle": "Config"
  },
  {
    "type": "post",
    "url": "/Config/agreementEdit",
    "title": "基础设置-用户协议修改",
    "version": "0.1.0",
    "name": "agreementEdit",
    "group": "Config",
    "description": "<p>用户协议修改</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "admin_id",
            "description": "<p>当前登陆用户id（必填）</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "token",
            "description": "<p>用户token（必填）</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "id",
            "description": "<p>协议ID（必填）</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "title",
            "description": "<p>标题（必填）</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "content",
            "description": "<p>内容（必填）</p>"
          }
        ]
      }
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n    *{\n    \"error_code\": 0,\n    \"result\": [\n    ],\n    \"msg\": \"ok\"\n    }",
          "type": "json"
        }
      ]
    },
    "error": {
      "examples": [
        {
          "title": "Error-Response:",
          "content": "HTTP/1.1 200 OK\n{\"code\":\"1XX\",\"message\":\"error\",\"data\":[]}",
          "type": "json"
        }
      ]
    },
    "filename": "application/admin/controller/config/Config.php",
    "groupTitle": "Config"
  }
] });
